﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Fashion.Master" Inherits="System.Web.Mvc.ViewPage<Fashion.Models.Model.LoginModel>" %>
<%@ Import Namespace="Fashion.Common.Const" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Login
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Login</h2>
    <%Html.EnableClientValidation(); %>
    <p>
    <%:ViewData[ViewDataName.ErrorMessage]%>
    </p>
    <%using (Html.BeginForm())
      {%>
    <table border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td>Tài khoản</td>
            <td><%:Html.TextBoxFor(i => i.UserName)%></td>
            <td><%:Html.ValidationMessageFor(i => i.UserName)%></td>
        </tr>
        <tr>
            <td>Mật khẩu</td>
            <td><%:Html.PasswordFor(i => i.Password)%></td>
            <td><%:Html.ValidationMessageFor(i => i.Password)%></td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="" value="Đăng nhập" /></td>
        </tr>
    </table>
    <%
      }%>
</asp:Content>
